package com.develop.data.loan.option;

import com.develop.data.loan.option.constraint.CodedOption;
import com.develop.data.loan.option.constraint.CommentedOption;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
public enum LoanGuaranteeType implements CodedOption, CommentedOption {
    PLEDGE("00", "质押贷款"),
    MORTGAGE("01", "抵押贷款"),
    REAL_ESTATE_MORTGAGE("0101", "房地产抵押贷款"),
    OTHER_MORTGAGE("0199", "其他抵押贷款"),
    GUARANTEED_LOAN("02", "保证贷款"),
    GROUP_LENDING("0201", "联保贷款"),
    OTHER_GUARANTEED_LOAN("0299", "其他证贷款"),
    CREDIT_LOAN("03", "其他证贷款"),
    PORTFOLIO_GUARANTEE("04","组合担保"),
    OTHER("99","其他");

    @Getter
    private String code;
    @Getter @Setter
    private String comment;

}
